package com.xxx.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xxx.bean.Demo;
import com.xxx.bean.User;
import com.xxx.bean.VideoTime;

/**
 * demo Mapper
 * 
 * 
 * 
 */
public interface DemoMapper {

	List<Demo> getAllRecords();

	int save(@Param("demo") Demo demo);

	int save2(@Param("demo") Demo demo);

	List<VideoTime> qryVideoTimeList();

	int updateVideoTime(@Param("vt") VideoTime vt);

	User getUserById(@Param("id") int id);

	int insertUser(@Param("id") int id, @Param("name") String name, @Param("age") int age, @Param("sex") String sex,
			@Param("cardno") String cardno);

}
